package com.example.aop_.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Slf4j
@Aspect
//@Component
public class AspectDome3 {
    @Before("execution(* com.example.aop_.test.*.*(..))")
    public void before(){
        log.info("before");
    }

    @After("execution(* com.example.aop_.test.*.*(..))")
    public void after(){
        log.info("after");
    }
}
